package com.ztgf.logistics.mapper.deppon;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.logistics.models.bo.deppon.LogisticsOrderBO;
import com.ztgf.logistics.models.dto.deppon.LogisticsOrderDTO;
import com.ztgf.logistics.models.vo.ExportLogisticsOrderListVO;
import com.ztgf.logistics.models.vo.deppon.LogisticsOrderVO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 物流订单表映射
 *
 * @author mxli
 * @Date 2021-09-13 22:15:56
 */
public interface LogisticsOrderMapper extends BaseMapper<LogisticsOrderDTO> {

    LogisticsOrderVO get(Long id);
    List<LogisticsOrderVO> queryPageList(Page<LogisticsOrderVO> page, LogisticsOrderBO bo);

    LogisticsOrderVO queryPageListByExport(@Param("id") Long id);

    Integer updateBillMoney(@Param("id") Long id, @Param("money") BigDecimal money);
}
